package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the GROUPMEMBERS database table.
 * 
 */
@Entity
@Table(name="GROUPMEMBERS")
public class Groupmember implements Serializable {
	private static final long serialVersionUID = 1L;
	private GroupmemberPK id;
	private Date expires;

    public Groupmember() {
    }


	@EmbeddedId
	public GroupmemberPK getId() {
		return this.id;
	}

	public void setId(GroupmemberPK id) {
		this.id = id;
	}
	

    @Temporal( TemporalType.DATE)
	public Date getExpires() {
		return this.expires;
	}

	public void setExpires(Date expires) {
		this.expires = expires;
	}

}